package com.thlws.java.proxy.dynamic_cglib;

/**
 * @author HanleyTang
 * @date 2018-12-04
 */
public class Client {

    public static void main(String[] args) {
        HelloCglib hello = new HelloCglib();
        CglibProxy<HelloCglib> cglibProxy = new CglibProxy<>(hello);
        HelloCglib proxyHello = cglibProxy.createProxyInstance();
        proxyHello.say();
    }
}
